<!DOCTYPE html>
<html>
<head>
    <meta charset = 'UTF-8'>
    <title>贪食蛇</title>
    <link rel = 'stylesheet' type = 'text/css' href = 'css/style.css'>

</head>

<body>
<canvas id = 'board' width = '300px' height = '300px'></canvas>
<p id = 'score'></p>
<button  id = 'restart' onclick = "init()">restart</button>
<button  id = 'up' onclick = "button_click()" value = '38'>↑</button>
<button  id = 'left' onclick = "button_click()" value = '37'>←</button>
<button  id = 'right' onclick = "button_click()" value = '39'>→</button>
<button  id = 'down' onclick = "button_click()" value = '40'>↓</button>
<script type = 'text/javascript' src = 'js/script.js'></script>
</body>
</html>